package com.cloud.core.http.error;


/**
 * Created by Tanghaibo
 * 2018/3/23
 * description: 业务层相关异常
 */

public class AppException extends RuntimeException {

    public int code;
    public String message;

    public AppException(String message) {
        this.message = message;
    }

    public AppException(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
